Yoast\WP\Duplicate_Post\Permissions_Helper S

Total Complexity 41
Dependencies 2
Dependents 22
Total lines 267
Lines of code 103
Logical lines of code 54
Comment lines 124
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
has_original_changed()
S
60 5 13
is_classic_editor()
S
64 4 10
get_enabled_post_types()
S
63 3 10
is_new_post_screen()
S
68 3 7
post_type_has_admin_bar()
S
68 3 7
should_rewrite_and_republish_be_allowed()
S
72 3 5
should_links_be_displayed()
S
73 3 4
is_edit_post_screen()
S
67 3 7
has_trashed_rewrite_and_republish_copy()
S
66 3 8
has_scheduled_rewrite_and_republish_copy()
S
68 3 7
get_rewrite_and_republish_copy()
S
69 2 7
is_post_type_enabled()
S
78 1 3
has_rewrite_and_republish_copy()
S
79 1 3
get_rewrite_and_republish_copy_id()
S
78 1 3
is_rewrite_and_republish_copy()
S
77 1 3
is_current_user_allowed_to_copy()
S
80 1 3
is_copy_allowed_to_be_republished()
S
78 1 3